#ifndef SETDATA_H
#define SETDATA_H

#include <QObject>
//#include "jsonhelper.h"
//#include "SqliteHelper.h"
#include <QUuid>
#include "globalobject.h"

using namespace Moolink;

class SetData: public QObject
{
public:
    SetData();
    static bool addNewDevice();
    static bool addNewCode();
    static bool Update_ServerSendTaskState(QString serverid,QString sendQN,int state);
    static bool Update_ServerSendTasksendQN(QString serverid,QString sendQN,QString newsendQN);
    static void reloadDevice(int id);
    static bool Update_Device(QString json);









};

#endif // SETDATA_H
